<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org" >

<body>  
	<div th:fragment="bbs_header">
    	<div style="text-align: right;"> 
    		<a href="index.html"><img src="../img/home.png" th:src="@{ /img/home.png }" title="홈" align="bottom" /></a>
			<span th:if="${ session.loginUserName != null }" th:text="[ + ' ' + ${ session.loginUserName } + ' 님 ' + ]" > loginUserName </span>
			<a th:if="${ session.loginUserName != null }" href="bbsUserLogout.con"> 로그 아웃 </a> 
			&nbsp;
			<a th:if="${ session.loginUserName == null }" href="#"  th:href="@{ bbsUserLogin.con( redirectUrl = ${ #httpServletRequest.getAttribute( 'reqUrlFull' ) } ) }" > 로그인 </a>
			&nbsp;
    		<a th:if="${ session.loginUserName == null }" href="bbsUserJoin.con"> 회원 가입 </a> 
    	</div> 
      	<img src="../../img/bbs_logo.png" th:src="@{/img/bbs_logo.png}" alt="게시판 로고" title="게시판 로고" />
    </div>  

</body>

</html>